 var options;
 google.load('visualization', '1', {packages:['gauge']});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable([
          ['Label', 'Value'],
          ['Food', 100]        
        ]);

        options = {
          width: 500, height: 250,
          redFrom: 0, redTo: 30,
          yellowFrom:30, yellowTo: 50,
          minorTicks: 10
        };

        var chart = new google.visualization.Gauge(document.getElementById('foodChart'));
        chart.draw(data, options);
      }
	  
function setFoodChart(value)
	  {
	  data = google.visualization.arrayToDataTable([
    ['Label', 'Value'],
    ['Food', value]  
  ]);
  
  // Create and draw the visualization.
  new google.visualization.Gauge(document.getElementById('foodChart')).
      draw(data, options);

	  }
